package com.example.qt.ptplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("comment_images")
public class CommentImage {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long torrentId;
    private Long userId;
    private Integer commentId;

    @TableField("image_data")
    private String imageData;

    @TableField("created_at")
    private LocalDateTime createdAt;
}